﻿using System;
using System.Linq;
using System.Collections.Generic;

namespace XcoAppSpaces.Contracts.Logging
{
	/// <summary>
	/// Logger that does nothing - replaces TraceSourceLogger for CF because TraceSource is not available there.
	/// </summary>
	class NullLogger : IXcoLogger
	{

		#region IXcoLogger Members

		public void Debug(string msg)
		{
			
		}

		public void Info(string msg)
		{
			
		}

		public void Warn(string msg)
		{
			
		}

		public void Error(string msg)
		{
			
		}

		public void Error(string msg, Exception ex)
		{
			
		}

		public void Fatal(string msg)
		{
			
		}

		public void Fatal(string msg, Exception ex)
		{
			
		}

		#endregion
	}
}
